//
//  UIViewController+Testt.m
//  ProjectDemo
//
//  Created by IOS3 on 2019/1/22.
//  Copyright © 2019 IOS3. All rights reserved.
//

#import "UIViewController+Testt.h"
#import <objc/runtime.h>
#import <objc/message.h>


static char const * const field_testt = "needCheckLoginKey";

@implementation UIViewController (Testt)

- (NSString *)testString {
    return objc_getAssociatedObject(self, field_testt);
}

- (void)setTestString:(NSString *)testString {
    objc_setAssociatedObject(self, field_testt, testString, OBJC_ASSOCIATION_COPY_NONATOMIC);
}

@end
